package com.woniuxy.yuekeuser.service;

import com.woniuxy.yuekeuser.model.CampsiteActivity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.yuekeuser.model.CampsiteActivityPicture;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Freedom
 * @since 2020-11-03
 */
public interface ICampsiteActivityService extends IService<CampsiteActivity> {

    public void addCampsiteActivity(CampsiteActivity campsiteActivity);
    public void addcampsiteActivityPicture(CampsiteActivityPicture campsiteActivityPicture);
    public List<CampsiteActivity> findActivitys(String campsiteName,int index, int pageSize);
    public int findActivityCount(String campsiteName);
    public List<CampsiteActivityPicture> findActivityImagesByActivityId(int id);

    public String findImageByActivityId(int id);

}
